package com.beg.cant.service;

import com.beg.cant.dto.ShopSettingsRequest;
import com.beg.cant.entity.ShopSettings;
import com.baomidou.mybatisplus.extension.service.IService;

public interface ShopSettingsService extends IService<ShopSettings> {
    /**
     * 创建或更新店铺设置
     * @param request 店铺设置请求
     * @return 店铺设置ID
     */
    long saveOrUpdateSettings(ShopSettingsRequest request);

    /**
     * 删除店铺设置
     * @param id 设置ID
     */
    void deleteSettings(Long id);

    /**
     * 获取店铺设置
     * @param id 设置ID
     * @return 店铺设置
     */
    ShopSettings getSettings(Long id);
}
